/*
 * 全局变量管理模块
 */


export function getEnum() {
  const data = {
    "code": 200,
    "msg": null,
    "data": {
      "groupType": {
        "1": {"code": 1, "key": "platformPost", "text": "平台岗位"},
        "2": {"code": 2, "key": "companyPost", "text": "公司岗位"}
      },
      "storeType": {
        "1": {"code": 1, "key": "platformHosting", "text": "平台托管"},
        "2": {"code": 2, "key": "localStorage", "text": "本地存储"}
      },
      "courseType": {
        "1": {"code": 1, "key": "onlineCourse", "text": "线上课程"},
        "2": {"code": 2, "key": "externalTrainingCourse", "text": "外训课程"},
        "3": {"code": 3, "key": "internalTrainingCourse", "text": "内训课程"},
        "4": {"code": 4, "key": "liveCourse", "text": "直播课程"}
      },
      "replyType": {
        "1": {"code": 1, "key": "note", "text": "笔记"},
        "2": {"code": 2, "key": "evaluate", "text": "评价"},
        "3": {"code": 3, "key": "replay", "text": "复盘"},
        "4": {"code": 4, "key": "improve", "text": "改善"}
      },
      "accountSex": {
        "1": {"code": 1, "key": "male", "text": "男"},
        "2": {"code": 2, "key": "female", "text": "女"},
        "3": {"code": 3, "key": "neither", "text": "未知"}
      },
      "bannerType": {
        "1": {"code": 1, "key": "course", "text": "课程"},
        "2": {"code": 2, "key": "link", "text": "外链"}
      },
      "lockMode": {
        "1": {"code": 1, "key": "freeMode", "text": "自由模式"},
        "2": {"code": 2, "key": "breakthroughMode", "text": "闯关模式"},
        "3": {"code": 3, "key": "dateLockMode", "text": "日期解锁"}
      },
      "accountRoleId": {
        "1": {"code": 1, "key": "platformAdmin", "text": "平台管理员"},
        "2": {"code": 2, "key": "platformStaff", "text": "平台员工"},
        "100": {"code": 100, "key": "companyAdmin", "text": "公司管理员"},
        "101": {"code": 101, "key": "companyStaff", "text": "公司员工"}
      },
      "noticeType": {
        "1": {"code": 1, "key": "waitSend", "text": "待发送"},
        "2": {"code": 2, "key": "sended", "text": "已发送"}
      },
      "courseItemType": {
        "1": {"code": 1, "key": "chapter", "text": "章节"},
        "2": {"code": 2, "key": "resource", "text": "资源"}
      },
      "adPosition": {
        "1": {"code": 1, "key": "main", "text": "企业学院首页"},
        "2": {"code": 2, "key": "channel", "text": "学习频道"}
      },
      "bannerStatus": {
        "1": {"code": 1, "key": "onShelf", "text": "已上架"},
        "2": {"code": 2, "key": "offShelf", "text": "未上架"}
      },
      "teacherType": {
        "1": {"code": 1, "key": "platformTeacher", "text": "平台讲师"},
        "2": {"code": 2, "key": "companyInnerTeacher", "text": "公司内部讲师"},
        "3": {"code": 3, "key": "companyOuterTeacher", "text": "公司外部讲师"}
      },
      "companyEmployeeCount": {
        "1": {"code": 1, "key": "betweenOneAndFifty", "text": "1-50人"},
        "2": {"code": 2, "key": "betweenFiftyAndOneHundred", "text": "51-100人"},
        "3": {"code": 3, "key": "betweenOneHundredAndFiveHundred", "text": "101-500人"},
        "4": {"code": 4, "key": "betweenFiveHundredAndOneThousand", "text": "501-1000人"},
        "5": {"code": 5, "key": "betweenOneThousandAndFiveThousand", "text": "1001-5000人"},
        "6": {"code": 6, "key": "overFiveThousand", "text": "5000人以上"},
      },
      "fileStatus": {
        "1": {"code": 1, "key": "upLoading", "text": "上传中"},
        "2": {"code": 2, "key": "success", "text": "上传成功"},
        "3": {"code": 3, "key": "failed", "text": "上传失败"}
      },
      "liveDuration": {
        "1": {"code": 1, "key": "thirtyMin", "text": "30分钟"},
        "2": {"code": 2, "key": "oneHour", "text": "60分钟"},
        "3": {"code": 3, "key": "twoHour", "text": "120分钟"}
      },
      "menuType": {
        "1": {"code": 1, "key": "platformMenu", "text": "平台菜单"},
        "2": {"code": 2, "key": "companyMenu", "text": "公司菜单"}
      },
      "fileType": {
        "1": {"code": 1, "key": "video", "text": "视频"},
        "2": {"code": 2, "key": "audio", "text": "音频"},
        "3": {"code": 3, "key": "pdf", "text": "pdf"},
        "4": {"code": 4, "key": "ppt", "text": "ppt"},
        "5": {"code": 5, "key": "document", "text": "文档"},
        "6": {"code": 6, "key": "html", "text": "网页"},
        "7": {"code": 7, "key": "epud", "text": "epud"},
        "8": {"code": 8, "key": "image", "text": "图片"},
        "9": {"code": 9, "key": "file", "text": "文件"},
      },
      "companyIndustry": {
        "1": {"code": 1, "key": "educationIndustry", "text": "教育行业"},
        "2": {"code": 2, "key": "ITIndustry", "text": "互联网行业"},
        "3": {"code": 3, "key": "architectureIndustry", "text": "建筑行业"},
        "4": {"code": 4, "key": "saleIndustry", "text": "销售行业"}
      },
      "status": {
        "1": {"code": 1, "key": "on", "text": "启用"},
        "2": {"code": 2, "key": "off", "text": "禁用"}
      },
      "resourceType": {
        "1": {"code": 1, "key": "video", "text": "视频"},
        "2": {"code": 2, "key": "audio", "text": "音频"},
        "3": {"code": 3, "key": "ebook", "text": "电子书"},
        "4": {"code": 4, "key": "pdf", "text": "图文"}
      }
    }
  }

  return {
    url: 'MainHome/getEnum',
    type: 'post',
    data: data
  }
}
